package org.daidai.abstrusewriting.homepage.live.models;

import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Administrator on 2016/10/31.
 */

public class liveSmiple implements Parcelable {
    @SerializedName("uid")
    private long uid;
    @SerializedName("nickname")
    private String nickname;
    @SerializedName("smallLogo")
    private String smallLogo;
    @SerializedName("verifyTitle")
    private String verifyTitle;

    protected liveSmiple(Parcel in) {
        uid = in.readLong();
        nickname = in.readString();
        smallLogo = in.readString();
        verifyTitle = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeLong(uid);
        dest.writeString(nickname);
        dest.writeString(smallLogo);
        dest.writeString(verifyTitle);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<liveSmiple> CREATOR = new Creator<liveSmiple>() {
        @Override
        public liveSmiple createFromParcel(Parcel in) {
            return new liveSmiple(in);
        }

        @Override
        public liveSmiple[] newArray(int size) {
            return new liveSmiple[size];
        }
    };

    public long getUid() {
        return uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getSmallLogo() {
        return smallLogo;
    }

    public void setSmallLogo(String smallLogo) {
        this.smallLogo = smallLogo;
    }

    public String getVerifyTitle() {
        return verifyTitle;
    }

    public void setVerifyTitle(String verifyTitle) {
        this.verifyTitle = verifyTitle;
    }
}
